<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="com.asaga.tools.*, java.util.*, java.io.*, java.net.*, java.util.*"%>
<%--
     Author:  Jeremy Sanderlin 
     Date Created: 2007-03-19
     Last Modified: 2006-03-19
     Last Modified By: Jeremy Sanderlin
--%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<% 
    AutismUser2Validate2Group autismUser2Validate2Group = null;
    TreeSet autismUser2Validate2GroupTreeSet = (TreeSet)session.getAttribute("autismUser2Validate2GroupTreeSet");
    Iterator iterator = autismUser2Validate2GroupTreeSet.iterator();
    SystemClient_DBImpl userProfile = (SystemClient_DBImpl)session.getAttribute("userProfile");
%>
<html>
    <head>
        <%@ include file="header.jsp" %>
    </head>
    <body>
        <div id="container" >
            <%@ include file="topNav.jsp" %>
            <%@ include file="leftside.jsp" %>
            <%@ include file="rightside.jsp" %>
            <div id="content">
                <table border="1">
                    <tr>
                        <td><a href="AutismSiteMasterController?action=portal">Home</a></td>
                        <td><a href="AutismSiteMasterController?action=group&groupAction=list">List All Groups </a></td>
                    </tr>
                </table>
                <br />
                <hr />
                <br /> 
                <h1>Users that are requesting validation</h1>
                <br />
                <hr />
                <br />
                <table border="1">
                    <tr>
                        <td colspan="4"><legend>Person Requesting Validation</legend></td>
                        <td colspan="3"><legend>Group waiting to Join</legend></td>
                    </tr>
                    <tr>
                        <td><legend>Person ID</legend></td>
                        <td><legend>Last Name</legend></td>
                        <td><legend>First Name</legend></td>
                        <td><legend>Email Address</legend></td>
                        <td><legend>Group ID</legend></td>
                        <td><legend>Group Name</legend></td>
                    </tr>
                    <% while(iterator.hasNext()){%>
                    <% autismUser2Validate2Group = (AutismUser2Validate2Group)iterator.next(); %>
                    <tr>
                        <td><%=autismUser2Validate2Group.GetPersonId()%></td>
                        <td><%=autismUser2Validate2Group.GetLname()%></td>
                        <td><%=autismUser2Validate2Group.GetFname()%></td>
                        <td><%=autismUser2Validate2Group.GetEmail()%></td>
                        <td><%=autismUser2Validate2Group.GetGroupId()%></td>
                        <td><%=autismUser2Validate2Group.GetGroupName()%></td>
                        <td>
                            <a href="AutismSiteMasterController?action=group&groupAction=validate&personId=<%=autismUser2Validate2Group.GetPersonId()%>&groupId=<%=autismUser2Validate2Group.GetGroupId()%>">
                                Validate
                            </a>
                        </td>
                    </tr>
                    <% }%>
                </table>
                <br />
                <hr />
                
            </div>
            <%@ include file="footer.jsp" %>
        </div>
    </body>
</html>
